<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="icon&font/iconfont.js">
    </script>
    <style type="text/css">
        .font_icon {
            font-size: 5em;
            color: red;
        }
        .font_icon2 {
            font-size: 5em;
        }
        </style>
</head>
<body>

    <svg class="font_icon" aria-hidden="true">
            <use xlink:href="#icon-smile"></use>
    </svg>

    <svg class="font_icon2" aria-hidden="true">
            <use xlink:href="#icon-frown"></use>
    </svg>
    
</body>
</html>